<script>
	export default {
		onLaunch: function() {
			this.initScript()
			console.log('App Launch')
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
		methods: {
			initScript() {
				// #ifdef H5
				var script = document.createElement('script');
				script.type = "text/javascript";
				script.async = true;
				script.src = "/static/uni.webview.1.5.4.js";
				document.head.appendChild(script);
				console.log('uni.webview.1.5.4.js loaded');
				// #endif
			}
		}
	}
</script>

<style>
	/*每个页面公共css */
</style>
